package com.loveedu.models;

import java.io.Serializable;
import java.util.Date;

/**
 * 评价表
 * Comment
 * 数据库表：comment
 */
public class Comment implements Serializable {

    /**
     * 
     * 表字段 : comment.id
     */
    private Long id;

    /**
     * 用户id
     * 表字段 : comment.user_id
     */
    private Long userId;

    /**
     * 订单id
     * 表字段 : comment.lession_id
     */
    private String lessionId;

    /**
     * 备注
     * 表字段 : comment.remark
     */
    private String remark;

    /**
     * 
     * 表字段 : comment.create_date
     */
    private Date createDate;

    /**
     * 
     * 表字段 : comment.create_by
     */
    private Long createBy;

    /**
     * 
     * 表字段 : comment.update_date
     */
    private Date updateDate;

    /**
     * 
     * 表字段 : comment.update_by
     */
    private Long updateBy;

    /**
     * 删除标识
     * 表字段 : comment.enable
     */
    private String enable;

    /**
     * 订单状态
     * 表字段 : comment.status
     */
    private String status;

    /**
     * 供应商
     * 表字段 : comment.supplier_id
     */
    private Long supplierId;

    /**
     * 
     * 表字段 : comment.comment_content
     */
    private String commentContent;

    /**
     * 
     * 表字段 : comment.reply_content
     */
    private String replyContent;

    /**
     * 
     * 表字段 : comment.reply_id
     */
    private Long replyId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table comment
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * 获取  字段:comment.id
     *
     * @return comment.id, 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置  字段:comment.id
     *
     * @param id the value for comment.id, 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 用户id 字段:comment.user_id
     *
     * @return comment.user_id, 用户id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置 用户id 字段:comment.user_id
     *
     * @param userId the value for comment.user_id, 用户id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取 订单id 字段:comment.lession_id
     *
     * @return comment.lession_id, 订单id
     */
    public String getLessionId() {
        return lessionId;
    }

    /**
     * 设置 订单id 字段:comment.lession_id
     *
     * @param lessionId the value for comment.lession_id, 订单id
     */
    public void setLessionId(String lessionId) {
        this.lessionId = lessionId == null ? null : lessionId.trim();
    }

    /**
     * 获取 备注 字段:comment.remark
     *
     * @return comment.remark, 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置 备注 字段:comment.remark
     *
     * @param remark the value for comment.remark, 备注
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 获取  字段:comment.create_date
     *
     * @return comment.create_date, 
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * 设置  字段:comment.create_date
     *
     * @param createDate the value for comment.create_date, 
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取  字段:comment.create_by
     *
     * @return comment.create_by, 
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * 设置  字段:comment.create_by
     *
     * @param createBy the value for comment.create_by, 
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取  字段:comment.update_date
     *
     * @return comment.update_date, 
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * 设置  字段:comment.update_date
     *
     * @param updateDate the value for comment.update_date, 
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * 获取  字段:comment.update_by
     *
     * @return comment.update_by, 
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * 设置  字段:comment.update_by
     *
     * @param updateBy the value for comment.update_by, 
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 获取 删除标识 字段:comment.enable
     *
     * @return comment.enable, 删除标识
     */
    public String getEnable() {
        return enable;
    }

    /**
     * 设置 删除标识 字段:comment.enable
     *
     * @param enable the value for comment.enable, 删除标识
     */
    public void setEnable(String enable) {
        this.enable = enable == null ? null : enable.trim();
    }

    /**
     * 获取 订单状态 字段:comment.status
     *
     * @return comment.status, 订单状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置 订单状态 字段:comment.status
     *
     * @param status the value for comment.status, 订单状态
     */
    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    /**
     * 获取 供应商 字段:comment.supplier_id
     *
     * @return comment.supplier_id, 供应商
     */
    public Long getSupplierId() {
        return supplierId;
    }

    /**
     * 设置 供应商 字段:comment.supplier_id
     *
     * @param supplierId the value for comment.supplier_id, 供应商
     */
    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    /**
     * 获取  字段:comment.comment_content
     *
     * @return comment.comment_content, 
     */
    public String getCommentContent() {
        return commentContent;
    }

    /**
     * 设置  字段:comment.comment_content
     *
     * @param commentContent the value for comment.comment_content, 
     */
    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent == null ? null : commentContent.trim();
    }

    /**
     * 获取  字段:comment.reply_content
     *
     * @return comment.reply_content, 
     */
    public String getReplyContent() {
        return replyContent;
    }

    /**
     * 设置  字段:comment.reply_content
     *
     * @param replyContent the value for comment.reply_content, 
     */
    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent == null ? null : replyContent.trim();
    }

    /**
     * 获取  字段:comment.reply_id
     *
     * @return comment.reply_id, 
     */
    public Long getReplyId() {
        return replyId;
    }

    /**
     * 设置  字段:comment.reply_id
     *
     * @param replyId the value for comment.reply_id, 
     */
    public void setReplyId(Long replyId) {
        this.replyId = replyId;
    }

    /**
     * ,comment
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", lessionId=").append(lessionId);
        sb.append(", remark=").append(remark);
        sb.append(", createDate=").append(createDate);
        sb.append(", createBy=").append(createBy);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", enable=").append(enable);
        sb.append(", status=").append(status);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", commentContent=").append(commentContent);
        sb.append(", replyContent=").append(replyContent);
        sb.append(", replyId=").append(replyId);
        sb.append("]");
        return sb.toString();
    }
}